<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of HtmlTag
 *
 * @author Antoniony
 */
class HtmlTag {
   
   private $nome;
   private $nomeForm;
   private $type;
   private $size;
   private $value;
   
   function __construct($nome,$nomeForm, $type, $size, $value) {
       $this->nome = $nome;
       $this->nomeForm = $nomeForm;
       $this->type = $type;
       $this->size = $size;
       $this->value = $value;
   }

   public function formDomain($nome, $action, $method){
       echo "<dl><form name=".$nome." action=".$action." method=".$method.">";
   }
   public function formCreate(){
        echo "<dt>".$this->nome."<input type=".$this->type." size=".$this->size." name=".$this->nomeForm." value=".$this->value." ></dt>";
 
    }
   public function formClose(){
        echo "</form>";
    }
    public function buttonsCreate(){
        echo "<input type='submit' value='Confirmar'>";
    }
    public function divCreate(){
        echo '<div>';
    }
    public function divClosed(){
        echo '</div>';
    }
    public function Space($tam){
        for($i=0;$i<$tam;$i++){
            echo "&emsp13;";
        }
    }
    
  public function pulaLinha($qt){
      
      for($i=0;$i<$qt;$i++){
          echo '<br>';
      }
  }
}

?>
